package com.jy.adscm.operation.mask.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.operation.mask.bean.KzMaterialDetail;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.operation.mask.bean.QueryKzMaterialDetail;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2020-03-24
 */
public interface KzMaterialDetailService extends IService<KzMaterialDetail> {

    Page<KzMaterialDetail> selectByPid(QueryKzMaterialDetail queryKzMaterialDetail);

    boolean updateKzMaterialDetail(Token token, KzMaterialDetail kzMaterialDetail);

    KzMaterialDetail insertkzMaterialDetail(KzMaterialDetail kzMaterialDetail);

    Boolean outPutMaterial(String code, Integer result,Token token);

    String getMaxCode();

    void   printCode(String code);


}
